class inary:
    class source:
        name = "pam"
        homepage = "http://www.kernel.org/pub/linux/libs/pam/"
        class packager:
            name = "Ali Riza KESKIN"
            email = "parduscix@yandex.ru"
        license = ['PAM']
        isa = ['library']
        partof = "system.base"
        summary = "Pluggable Authentication Modules"
        description = "PAM (Pluggable Authentication Modules) is a system security tool that allows system administrators to set authentication policy without having to recompile programs that handle authentication."
        archive = [
            ("8d20308cbf17823e9b88b01c2c70df3e1ad9d654","https://github.com/linux-pam/linux-pam/releases/download/v1.5.2/Linux-PAM-1.5.2.tar.xz"),
        ]
        builddependencies = ['perl', 'audit-devel', 'libxslt-devel', 'docbook-xsl']
        additionalfiles = [
            ("dlopen.sh","dlopen.sh"),
            ("dlopen-test.sh","dlopen-test.sh"),
        ]
        packages = ['pkg_pam', 'pkg_pam_32bit', 'pkg_pam_devel']
    class pkg_pam:
        name = "pam"
        runtimedependencies = ['audit']
        files = [
            ("config","/etc"),
            ("library","/lib"),
            ("data","/var/run/console"),
            ("library","/usr/lib"),
            ("executable","/sbin"),
            ("executable","/usr/sbin"),
            ("doc","/usr/share/doc"),
            ("man","/usr/share/man"),
            ("localedata","/usr/share/locale"),
        ]
        additionalfiles = [
            ("90-nproc.conf","root","0644","/etc/limit.d/90-nproc.conf"),
        ]
    class pkg_pam_32bit:
        name = "pam-32bit"
        buildtype="emul32"
        runtimedependencies = ["pam"]
        files = [
            ("library","/lib32"),
            ("library","/usr/lib32"),
        ]
    class pkg_pam_devel:
        name = "pam-devel"
        runtimedependencies = ["pam"]
        files = [
            ("header","/usr/include"),
            ("man","/usr/share/man/man3"),
        ]
    class history:
        update = [
            ["2021-11-21","1.5.2","First release","Ali Riza KESKIN","parduscix@yandex.ru"],
        ]
